package com.vm.model;

import java.io.Serializable;

public class Goods implements Serializable{

	private static final long serialVersionUID = 1L;
	private String id;//商品id
	private int sortId; //排序id
	private String name;//商品名称
	private float price;//市场价
	private Integer integral;//积分价
	private String imageUrl;//商品图片
	private Integer typeId;//商品类型
	private String stime;//上架时间
	private String details;//商品详细信息
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public int getSortId() {
		return sortId;
	}
	public void setSortId(int sortId) {
		this.sortId = sortId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public Integer getIntegral() {
		return integral;
	}
	public void setIntegral(Integer integral) {
		this.integral = integral;
	}
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	public Integer getTypeId() {
		return typeId;
	}
	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}
	public String getStime() {
		return stime;
	}
	public void setStime(String stime) {
		this.stime = stime;
	}
	public String getDetails() {
		return details;
	}
	public void setDetails(String details) {
		this.details = details;
	}
	@Override
	public String toString() {
		return "Goods [id=" + id + ", sortId=" + sortId + ", name=" + name
				+ ", price=" + price + ", integral=" + integral + ", imageUrl="
				+ imageUrl + ", typeId=" + typeId + ", stime=" + stime
				+ ", details=" + details + "]";
	}
	
	
}
